<!DOCTYPE html>
<html lang="en" class="app">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>配置信息</title>
    <link href="__PUBLIC__/Admin/css/bootstrap.min.css?v=3.4.0" rel="stylesheet">
    <link href="__PUBLIC__/Admin/css/style.css" rel="stylesheet">
    <link rel="stylesheet" href="__PUBLIC__/Admin/font-awesome/css/font-awesome.css"/>
    <link rel="stylesheet" href="__PUBLIC__/Admin/css/animate.css"/>
    <script src="__PUBLIC__/Admin/js/jquery-2.1.1.min.js"></script>
    <script src="__PUBLIC__/Admin/js/bootstrap.min.js"></script>
</head>

<body class="top-navigation">
<div id="wrapper">
    <div id="page-wrapper" class="gray-bg">
        <div class="wrapper">
            <div class="text-center animated fadeInDown" style="padding-top: 100px;">

                <div class="spiner-example">
                    <div class="sk-spinner sk-spinner-wave">
                        <div class="sk-rect1"></div>
                        <div class="sk-rect2"></div>
                        <div class="sk-rect3"></div>
                        <div class="sk-rect4"></div>
                        <div class="sk-rect5"></div>
                    </div>
                </div>
            </div>

            <h1 class="font-bold text-center animated bounceInLeft" style="color:#1ab394;">
                <?php if(isset($message)) {?>
                <p class="success">:)&nbsp;<?php echo($message); ?></p>
                <?php }else{?>
                <p class="error">:( &nbsp;<?php echo($error); ?></p>
                <?php }?>

            </h1>

            <div class="error-desc text-center animated bounceInLeft">
                <span class="h4">页面自动 <a id="href" href="<?php echo($jumpUrl); ?>">跳转</a>， <b id="wait"><?php echo($waitSecond); ?></b></span>
                <span class="h1" style="color:#1ab394;"></span>
                <span class="h4">s</span>&nbsp;
                <a style="color: #00c7f7" class="h4" href="{:U('Login/index')}">重新登录</a>
            </div>
        </div>
    </div>
</div>

</body>
</html>
<script type="text/javascript">
    (function(){
        var wait = document.getElementById('wait'),href = document.getElementById('href').href;
        var interval = setInterval(function(){
            var time = --wait.innerHTML;
            if(time <= 0) {
                location.href = href;
                clearInterval(interval);
            };
        }, 1000);
    })();
</script>
